package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.pojo.HomeNewProduct;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface SmsHomeNewProductService extends IService<HomeNewProduct> {
    void createNew(List<HomeNewProduct> homeNewProductList);

    PageResult getList(Integer pageNum, Integer pageSize, Integer productName, Integer recommendStatus);

    void deleteNew(List<Long> ids);

    void updateStatus(List<Long> ids, Integer recommendStatus);

    void updateSort(Long id, Integer sort);
}
